package com.meetingshow.common.validator;

import java.lang.annotation.ElementType;

import javax.validation.Path;
import javax.validation.TraversableResolver;
import javax.validation.Path.Node;

public class MeetingShowTraversableResolver implements TraversableResolver {
    /* (non-Javadoc)
     * @see javax.validation.TraversableResolver#isCascadable(java.lang.Object, javax.validation.Path.Node, java.lang.Class, javax.validation.Path, java.lang.annotation.ElementType)
     */
    @Override
    public boolean isCascadable(Object arg0, Node arg1, Class<?> arg2,
            Path arg3, ElementType arg4) {
        return true;
    }

    /* (non-Javadoc)
     * @see javax.validation.TraversableResolver#isReachable(java.lang.Object, javax.validation.Path.Node, java.lang.Class, javax.validation.Path, java.lang.annotation.ElementType)
     */
    @Override
    public boolean isReachable(Object arg0, Node arg1, Class<?> arg2,
            Path arg3, ElementType arg4) {
        return true;
    }
}
